package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ComponentScan("com.itheima") //<context:component-scan base-package="com.itheima.service"/>
@PropertySource("classpath:jdbc.properties")  //<context:property-placeholder location="classpath:jdbc.properties"/>
@Import({JdbcConfig.class,MybatisConfig.class})
public class SpringConfiguration {
}
